package com.bruceewu.galleryphoto.utis;

import android.text.TextUtils;
import android.widget.ImageView;

import com.bumptech.glide.Glide;

public class ImageUtils {

    public static void load(ImageView view, String path) {
        if (!TextUtils.isEmpty(path)) {
            Glide.with(view).load(path).into(view);
        }
    }

    public static void clear(ImageView view) {
        Glide.with(view).clear(view);
    }
}
